//
//  GMFBottomToolbarView.h
//  SplunkMobile
//
//  Created by lijunying on 1/28/2016.
//  Copyright © 2016 Gome. All rights reserved.
//

#import <UIKit/UIKit.h>
@class GMFBottomToolbarView;
@class GMFColorButton;

@protocol BottomToolbarViewDelegate <NSObject>

/**
 *  @brief 代理方法
 *
 *  @param toolbarView 本view
 *  @param string      把按钮tag传到代理中
 */
- (void)bottomToolbarView:(GMFBottomToolbarView *)toolbarView buttonTagString:(NSString *)string;

@end


@interface GMFBottomToolbarView : UIView

@property (nonatomic, weak) GMFColorButton *btnPalette;
@property (nonatomic, weak) UIButton *btnArrow;
@property (nonatomic, weak) UIButton *btnDraw;
@property (nonatomic, weak) UIButton *btnAddText;
@property (nonatomic, assign) NSInteger intPosition;

@property(nonatomic, weak) id<BottomToolbarViewDelegate> delegate;

- (void)changeRedViewPosition:(NSInteger)position;

@end
